<table class="table table-hover" style="min-width:850px;">
    <tbody>   
        {loop $ds $item}
        <tr>
            <td>{$item['title']}</td>
            <td style="width:80px;"><a href="javascript:;" onclick='select_hotel({php echo json_encode($item);})'>选择</a></td>
        </tr>
        {/loop}
        {if count($ds)<=0}
        <tr>
            <td colspan='4' align='center'>未找到酒店</td>
        </tr>
        {/if}
    </tbody>
</table>
